package pro.shushi.pamirs.demo.api.model;

import pro.shushi.pamirs.meta.annotation.Field;
import pro.shushi.pamirs.meta.annotation.Model;
import pro.shushi.pamirs.meta.base.IdModel;

@Model.model(DemoItemAttribute.MODEL_MODEL)
@Model(displayName = "测试商品属性", labelFields = "name")
public class DemoItemAttribute extends IdModel {

    private static final long serialVersionUID = -4686284768772409058L;

    public static final String MODEL_MODEL = "demo.DemoItemAttribute";

    @Field.String
    @Field(displayName = "属性名称")
    private String name;

    @Field.Integer
    @Field(displayName = "商品ID")
    private Long itemId;

    @Field.String
    @Field(displayName = "属性值")
    private String value;
}
